/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.taobao.ibatiside.model.mapperv3;

import java.math.BigInteger;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Cache</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.taobao.ibatiside.model.mapperv3.Cache#getProperty <em>Property</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv3.Cache#getEviction <em>Eviction</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv3.Cache#getFlushInterval <em>Flush Interval</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv3.Cache#isReadOnly <em>Read Only</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv3.Cache#getSize <em>Size</em>}</li>
 *   <li>{@link org.taobao.ibatiside.model.mapperv3.Cache#getType <em>Type</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache()
 * @model extendedMetaData="name='cache' kind='elementOnly'"
 * @generated
 */
public interface Cache extends EObject {
	/**
	 * Returns the value of the '<em><b>Property</b></em>' containment reference list.
	 * The list contents are of type {@link org.taobao.ibatiside.model.mapperv3.Property}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Property</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Property</em>' containment reference list.
	 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache_Property()
	 * @model containment="true"
	 *        extendedMetaData="kind='element' name='property' namespace='##targetNamespace'"
	 * @generated
	 */
	EList<Property> getProperty();

	/**
	 * Returns the value of the '<em><b>Eviction</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Eviction</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Eviction</em>' attribute.
	 * @see #setEviction(String)
	 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache_Eviction()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.String"
	 *        extendedMetaData="kind='attribute' name='eviction' namespace='##targetNamespace'"
	 * @generated
	 */
	String getEviction();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#getEviction <em>Eviction</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Eviction</em>' attribute.
	 * @see #getEviction()
	 * @generated
	 */
	void setEviction(String value);

	/**
	 * Returns the value of the '<em><b>Flush Interval</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Flush Interval</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Flush Interval</em>' attribute.
	 * @see #isSetFlushInterval()
	 * @see #unsetFlushInterval()
	 * @see #setFlushInterval(long)
	 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache_FlushInterval()
	 * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long"
	 *        extendedMetaData="kind='attribute' name='flushInterval' namespace='##targetNamespace'"
	 * @generated
	 */
	long getFlushInterval();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#getFlushInterval <em>Flush Interval</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Flush Interval</em>' attribute.
	 * @see #isSetFlushInterval()
	 * @see #unsetFlushInterval()
	 * @see #getFlushInterval()
	 * @generated
	 */
	void setFlushInterval(long value);

	/**
	 * Unsets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#getFlushInterval <em>Flush Interval</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetFlushInterval()
	 * @see #getFlushInterval()
	 * @see #setFlushInterval(long)
	 * @generated
	 */
	void unsetFlushInterval();

	/**
	 * Returns whether the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#getFlushInterval <em>Flush Interval</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Flush Interval</em>' attribute is set.
	 * @see #unsetFlushInterval()
	 * @see #getFlushInterval()
	 * @see #setFlushInterval(long)
	 * @generated
	 */
	boolean isSetFlushInterval();

	/**
	 * Returns the value of the '<em><b>Read Only</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Read Only</em>' attribute.
	 * @see #isSetReadOnly()
	 * @see #unsetReadOnly()
	 * @see #setReadOnly(boolean)
	 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache_ReadOnly()
	 * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
	 *        extendedMetaData="kind='attribute' name='readOnly' namespace='##targetNamespace'"
	 * @generated
	 */
	boolean isReadOnly();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#isReadOnly <em>Read Only</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Read Only</em>' attribute.
	 * @see #isSetReadOnly()
	 * @see #unsetReadOnly()
	 * @see #isReadOnly()
	 * @generated
	 */
	void setReadOnly(boolean value);

	/**
	 * Unsets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#isReadOnly <em>Read Only</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #isSetReadOnly()
	 * @see #isReadOnly()
	 * @see #setReadOnly(boolean)
	 * @generated
	 */
	void unsetReadOnly();

	/**
	 * Returns whether the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#isReadOnly <em>Read Only</em>}' attribute is set.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return whether the value of the '<em>Read Only</em>' attribute is set.
	 * @see #unsetReadOnly()
	 * @see #isReadOnly()
	 * @see #setReadOnly(boolean)
	 * @generated
	 */
	boolean isSetReadOnly();

	/**
	 * Returns the value of the '<em><b>Size</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Size</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Size</em>' attribute.
	 * @see #setSize(Integer)
	 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache_Size()
	 * @model extendedMetaData="kind='attribute' name='size' namespace='##targetNamespace'"
	 * @generated
	 */
	Integer getSize();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#getSize <em>Size</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Size</em>' attribute.
	 * @see #getSize()
	 * @generated
	 */
	void setSize(Integer value);

	/**
	 * Returns the value of the '<em><b>Type</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Type</em>' attribute.
	 * @see #setType(String)
	 * @see org.taobao.ibatiside.model.mapperv3.Mapperv3Package#getCache_Type()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.String"
	 *        extendedMetaData="kind='attribute' name='type' namespace='##targetNamespace'"
	 * @generated
	 */
	String getType();

	/**
	 * Sets the value of the '{@link org.taobao.ibatiside.model.mapperv3.Cache#getType <em>Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Type</em>' attribute.
	 * @see #getType()
	 * @generated
	 */
	void setType(String value);

} // Cache
